package it.uniroma2.structure;

public class General_Sequence_Control extends Sequence_Control{
	
	public General_Sequence_Control() {
		super();
	}
	
	public General_Sequence_Control(String name) {
		super(name);
	}
	
	@Override
	public String toString() {
		
		return sequenceTag + " name=\"" + this.name + "\"";
	}
	
	@Override
	public String toBPEL() {
		String output = "<" + this.toString() + ">\n";
		for(Node temp : this.subNodes) {
			output = output + temp.toBPEL();
		}
		return output + "</" + sequenceTag + ">\n";
	}
}
